<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>完成注册</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="container">
        <div class="page active">
            <div class="setup-password-container">
                <h1>完成注册</h1>
                <div class="info-message">
                    您的手机号尚未注册，请设置用户名和密码完成注册。
                </div>
                <form id="setupPasswordForm">
                    <input type="hidden" id="setupPhone">
                    <div class="form-group">
                        <input type="text" id="setupUsername" placeholder="用户名" required>
                        <span class="form-tip">用户名长度4-20个字符</span>
                    </div>
                    <div class="form-group">
                        <input type="password" id="setupPassword" placeholder="密码" required>
                        <span class="form-tip">密码长度6-20个字符</span>
                    </div>
                    <div class="form-group">
                        <input type="email" id="setupEmail" placeholder="邮箱（可选）">
                    </div>
                    <button type="submit" class="btn-primary">完成注册</button>
                </form>
            </div>
        </div>
        <div id="messageAlert" class="message-alert"></div>
    </div>
    <script src="js/setup-password.js"></script>
</body>
</html> 